﻿-- :name = reverse
-- :build = Reverse:new()
-- :receive = str
-- :emit = reversed

Reverse = {}
function Reverse:new ()
  o = {}
  o.str = unconnected

  function o:reversed ()
    return self:str():reverse()
  end

  return o
end